package com.wondertek.service.dto.app.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author xqs
 */
@Data
public class AppLogPageRes implements Serializable {

    /**
     * 操作类型
     */
    @Schema(name = "handleType",description = "操作类型")
    private String handleType;

    /**
     * 操作时间
     */
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(name = "handleTime",description = "操作时间")
    private Date handleTime;

    /**
     * 设备id
     */
    @Schema(name = "deviceId",description = "设备id")
    private String deviceId;
}
